package cn.com.springsource.ioc.day2;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

@Configuration
@ComponentScan("cn.com.springsource.ioc.day2") //开启包扫描
//@ImportResource(value="spring-context-anno.xml") //可引入xml配置，此处由于项目包问题导致类冲突，注释
public class Spring {
}
